package com.jic.order.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.order.entity.OrderAutomaticReceipted;

import java.lang.Long;
import java.util.List;

/**
* 订单自动签收表
* @author :
* @email :
* @since : 2020-03-02 01:19:42
* @version : v1.0.0
*/
public interface OrderAutomaticReceiptedService {

    /**
     * 插入
     *
     * @param orderAutomaticReceipted 订单自动签收
     * @return long
     */
    long insert(OrderAutomaticReceipted orderAutomaticReceipted);

    /**
     * 删除
     *
     * @param id id
     * @return long
     */
    long delete(Long id);

    /**
     * 更新
     *
     * @param orderAutomaticReceipted 订单自动签收
     * @return long
     */
    long update(OrderAutomaticReceipted orderAutomaticReceipted);

    /**
     * 通过主键查询
     *
     * @param id id
     * @return {@link OrderAutomaticReceipted}
     */
    OrderAutomaticReceipted queryByPrimaryKey(Long id);

    /**
     * 查询
     *
     * @param orderAutomaticReceipted 订单自动签收
     * @return {@link List<OrderAutomaticReceipted>}
     */
    List<OrderAutomaticReceipted> query(OrderAutomaticReceipted orderAutomaticReceipted);

    PageResult<OrderAutomaticReceipted> queryPage(OrderAutomaticReceipted orderAutomaticReceipted, Page pageQuery);

}
